use crate::extends::db::RB;
use rbatis::rbatis::Rbatis;
use rbatis::executor::{RbatisExecutor,RBatisTxExecutor};
use crate::domain::user::entity::{SysUser};

//获取用户信息
#[py_sql(rb, "SELECT id , login_user_name , '' login_password, nick_name , locked FROM sys_user where id =#{user_id}")]
pub async fn get_user_detail(rb : &mut RBatisTxExecutor<'_>,user_id: &str) -> Option<SysUser> {}